package com.model.vo.device.deviceOBDInfo.bindFactory;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-10-16 6:56
 **/
@Data
@Builder
public class BindFactoryVO {
    @ApiModelProperty(value = "导入成功数量",required = true)
    Integer importSuccess;
    @ApiModelProperty(value = "导入失败数量",required = true)
    public Integer getImportFailed(){
        return errorList.size();
    }
    @ApiModelProperty(value = "导入失败列表",required = true)
    List<ErrorBindFactoryVO> errorList;
}
